import request from '@/utils/request'

/**
 * 人员基本信息数据项说明分页查询
 * @param {查询条件} data
 */
export function listProJxryStaffinfo(query) {
  return request({
    url: 'business/ProJxryStaffinfo/list',
    method: 'get',
    params: query,
  })
}

/**
 * 新增人员基本信息数据项说明
 * @param data
 */
export function addProJxryStaffinfo(data) {
  return request({
    url: 'business/ProJxryStaffinfo',
    method: 'post',
    data: data,
  })
}
/**
 * 修改人员基本信息数据项说明
 * @param data
 */
export function updateProJxryStaffinfo(data) {
  return request({
    url: 'business/ProJxryStaffinfo',
    method: 'PUT',
    data: data,
  })
}
/**
 * 获取人员基本信息数据项说明详情
 * @param {Id}
 */
export function getProJxryStaffinfo(id) {
  return request({
    url: 'business/ProJxryStaffinfo/' + id,
    method: 'get'
  })
}

/**
 * 删除人员基本信息数据项说明
 * @param {主键} pid
 */
export function delProJxryStaffinfo(pid) {
  return request({
    url: 'business/ProJxryStaffinfo/delete/' + pid,
    method: 'delete'
  })
}
// GetSysDeptList
export function GetSysDeptList(){
  return request({
    url: 'business/ProJxryStaffinfo/getSysDeptList',
    method: 'get',
  })
}

///GetProJxryStaffinfoList
export function GetProJxryStaffinfoList(){
  return request({
    url: 'business/ProJxryStaffinfo/getProJxryStaffinfoList',
    method: 'get',
  })
}